/*
 * @Description: Have A Nice Day!
 * @Author: Jacky
 * @Date: 2020-02-12 16:38:26
 * @LastEditors: Jacky
 * @LastEditTime: 2020-02-12 16:40:10
 */
import {TOGGLE_DIALOG} from '../types'
function dialog(state=false,action){
    if(action.type === TOGGLE_DIALOG){
        return !state
    }
    return state
}
export default dialog